package com.songcha.module_main.ui.activity.main

import com.songcha.library_base.mvvm.base.BaseRepository
import com.songcha.library_business.api.ApiManager
import com.songcha.library_business.proxy.userinfo.UserInfoManager
import com.songcha.library_common.LibraryCommon
import com.songcha.library_common.util.DeviceUtil
import com.songcha.library_network.bean.BaseStringDataBean
import com.songcha.module_main.api.MainApiManager
import io.reactivex.Observable
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
import org.json.JSONArray
import org.json.JSONObject
import retrofit2.http.Body
import retrofit2.http.Query

class MainRepository:BaseRepository() {
    fun loginByDeviceId(deviceId:String):Observable<BaseStringDataBean>{
        return ApiManager.api.loginByDeviceId(deviceId)
    }
}